package java1224;

public class Java02 {
    public static void main(String[] args) {

//        int a = 2;
//        int b = 3;
//
//        int[ ] arr ={4,7,9,3};
//
//
//        int [] brr = new int[4];


        int[] crr = {4,7,9,3};
        //           0 1 2 3
        int x = crr [2];
        crr[1] = 6;

        int t = crr[0];


        crr[0]=crr[3];

        crr[3]=t;


        int[] drr = {1,2,3,4,5};

        for (int i = 0; i < drr.length; i++) {
            System.out.println(drr[i]);
        }


        for (int j:drr){
            System.out.println(j);

        }







    }
}
